package com.service;

import com.entity.Artical;
import com.util.sql.PageModel;

import java.util.List;

/**
 * 帖子服务接口
 */
public interface AriticalService {
    Artical sendPost(Artical post);

    Artical saveArtical(Artical artical);

    PageModel pageArtical(int page, int size,Artical artical);

    /**
     * 查询帖子
     * @param artical
     * @return
     */
    Artical queryArtical(Artical artical);
}
